Adding Lipsum in your Language

Adding Lipsum in your Language

When creating page layouts Lorem ipsum, also known simply as lipsum, is used as a placeholder for actual text before the real text is inserted. Scribus makes this very convenient to use by simply selecting, then right clicking a text frame and selecting Sample Text.. This allows you to visualize the layout or experiment with different fonts and effects before finalizing your design. Lipsum, based on a speech by Cicero is chosen as it uses a broad selection of letters from the Roman alphabet. However, if you use a non-Latin language, this can be a great distraction to your layout.

Thus, this simple howto shows you how easy it is to add your own language if it not yet included with Scribus.

The structure of the file is very simple XML, which anyone can use. Below is a shortened version of lipsum in Finnish.

 <?xml version="1.0" encoding="utf8"?>
<lorem>
	<name>Finnish</name>
	<author>http://www.dlc.fi/~frank/ite.htm</author>
	<url>http://www.dlc.fi/~frank/huumori/trans/</url>

<p>Vaimo ja mies ajattelivat pitää illallisjuhlat kaikille Rooman silmäätekeville Italiassa.
Vaimo jännitti kovasti ja halusi kaiken  sujuvan täydellisesti. Viime minuuteilla hän tajusi, ettei
hänellä ollut illallisille yhtään etanoita, jolloin hän käski miestään juoksemaan
alas rannalle ja keräämään koriin joitain etanoita.</p>
<lorem>

Now, you can search on the internet for lipsum in your language - it has been translated into many many languages.

Insert the text, replace the name, author and url data with the correct ones. Then simply put html-like tags around each of the paragraphs.

Insert the text, then save is as language.xml

Important, make sure you save the text in UTF-8 encoding. Then, you can copy it in the subdirectory /scribus/loremipsum/ where Scribus is installed. Linux users may have to use sudo or login as root. MacOSX users can find the Scribus folder under Applications usually. Windows users will find it in Program Files\Scribus.

Now that you have done this major bit of engineering, head over to http://bugs.scribus.net. File a bug with severity 'feature' and upload your newly created XML file. One of the scribus developers will add it to the next release of Scribus for all to enjoy.